package com.jiepos.mpos.common.dao;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.jiepos.mpos.common.entity.App_Custom_ProfitEntity;
import com.jiepos.mpos.core.dao.BaseDao;

/**
 * 会员分润设置Dao
 * @author Zhao.Jinkui
 * @version 1.0
 * @ProjectName: mpos
 * @Package com.jiepos.mpos.common.dao
 * @ClassName CustomProfitDao
 * @history
 * @UpdateRemark []
 * @since 2017/10/8
 */
@Repository
public class CustomProfitDao extends BaseDao<App_Custom_ProfitEntity> {

	/**
	 * 删除信息
	 * @param sql
	 * @param obj
	 */
	@SuppressWarnings({ "rawtypes", "unchecked" })
	public void deleteById(String sql, Object obj) {
		List list = new ArrayList();
		list.add(obj);
		super.update(sql, list);
	}
}
